Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.

feat(schema): add experimental routeRules#7954

Merged
pi0 merged 9 commits intomainfrom
feat/schema-alias
Oct 17, 2022
Merged

feat(schema): add experimental routeRules#7954
pi0 merged 9 commits intomainfrom
feat/schema-alias

Conversation

@danielroe
Copy link
Copy Markdown
Member

🔗 Linked issue

https://github.com/nuxt/framework/discussions/560

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

This allows specifying a top-level routes option for route rules. Given how prominent this feature might end up being, I think the DX is worth it.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@danielroe danielroe added nitro schema 🍰 p2-nice-to-have Priority 2: nothing is broken but it's worth addressing labels Oct 2, 2022
@danielroe danielroe requested a review from pi0 October 2, 2022 12:43
@danielroe danielroe self-assigned this Oct 2, 2022
@codesandbox
Copy link
Copy Markdown

codesandbox Bot commented Oct 2, 2022

CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@netlify
Copy link
Copy Markdown

netlify Bot commented Oct 2, 2022

Deploy Preview for nuxt3-docs canceled.

Name Link
🔨 Latest commit 95554ca
🔍 Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/634d3aa0ea2a5a0008aada40

@vercel vercel Bot temporarily deployed to Preview October 2, 2022 12:43 Inactive
Comment thread packages/schema/src/config/nitro.ts Outdated
@vercel vercel Bot temporarily deployed to Preview October 2, 2022 12:48 Inactive
@vercel vercel Bot temporarily deployed to Preview October 4, 2022 12:18 Inactive
@danielroe danielroe mentioned this pull request Oct 9, 2022
Comment thread packages/schema/src/config/nitro.ts Outdated
@danielroe danielroe requested a review from pi0 October 14, 2022 12:46
@pi0 pi0 changed the title feat(schema): add routes as shortcut for nitro.routes feat(schema): add experimental routes as shortcut for nitro.routes Oct 17, 2022
Comment thread packages/schema/src/config/nitro.ts Outdated
Comment thread packages/schema/src/config/nitro.ts Outdated
@pi0 pi0 changed the title feat(schema): add experimental routes as shortcut for nitro.routes feat(schema): add experimental routesRules Oct 17, 2022
@pi0 pi0 merged commit df2bad7 into main Oct 17, 2022
@pi0 pi0 deleted the feat/schema-alias branch October 17, 2022 11:22
@danielroe danielroe changed the title feat(schema): add experimental routesRules feat(schema): add experimental routeRules Oct 17, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

3.x nitro 🍰 p2-nice-to-have Priority 2: nothing is broken but it's worth addressing schema

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants